﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Xiaowei.Players.XiaoweiPlayerLib
{

    public interface IXiaoweiPlayerList
    {
        XiaoweiPlayerItemBase CurrentItem { get; }
        void GoNext();
        bool CanGoNext {get;}
        event EventHandler CanGoNextChanged;
        void GoPre();
        event EventHandler CanGoPreChanged;
        bool CanGoPre {get;}
        void CurrentPlayEnd();
        bool TryToChangePlayMode(PlayMode playMode);
        PlayMode SwitchPlayMode();
        PlayMode PlayMode { get; }
        void Suspend();
        void Resumed();
        event EventHandler<XiaoweiPlayerItemBase> CurrentItemChanged;

    }
}
